﻿<igRibbon:XamRibbonWindow
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  xmlns:igRibbon="http://infragistics.com/Ribbon"
  xmlns:igEditors="http://infragistics.com/Editors"
  xmlns:igDock="http://infragistics.com/DockManager"
  xmlns:igWindows="http://infragistics.com/Windows"
  xmlns:igDP="http://infragistics.com/DataPresenter"
  xmlns:local="clr-namespace:Hinshelwood.TFSHeatITSM"
    xmlns:localdata="clr-namespace:Hinshelwood.TFSHeatITSM.Controlers.Data.Entities"
  xmlns:Controlers="clr-namespace:Hinshelwood.TFSHeatITSM.Controlers"
  xmlns:tfs="clr-namespace:Microsoft.TeamFoundation.Client;assembly=Microsoft.TeamFoundation.Client"
  xmlns:tfswit="clr-namespace:Microsoft.TeamFoundation.WorkItemTracking.Client;assembly=Microsoft.TeamFoundation.WorkItemTracking.Client"
  x:Class="MainWindow"
  Title="TFS Heat ITSM" Height="600" Width="800"
  ResizeMode="CanResizeWithGrip"
  Icon="RDIcon.ico" xmlns:igThemes="http://infragistics.com/Themes">
    <igRibbon:XamRibbonWindow.Resources>
        <DataTemplate DataType="{x:Type localdata:CallLog}">
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="60" />
                    <ColumnDefinition Width="*" />
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="*" />
                    <RowDefinition Height="*" />
                    <RowDefinition Height="*" />
                    <RowDefinition Height="*" />
                    <RowDefinition Height="*" />
                    <RowDefinition Height="*" />
                    <RowDefinition Height="*" />
                    <RowDefinition Height="*" />
                </Grid.RowDefinitions>
                <TextBlock Grid.Row="0" Grid.Column="0" Text="ID: "/>
                <TextBlock Grid.Row="0" Grid.Column="1" Text="{Binding Path=CallID}"/>
                <TextBlock Grid.Row="1" Grid.Column="0" Text="Type: "/>
                <TextBlock Grid.Row="1" Grid.Column="1" Text="{Binding Path=CallType}"/>
                <TextBlock Grid.Row="2" Grid.Column="0" Text="Tracker: "/>
                <TextBlock Grid.Row="2" Grid.Column="1" Text="{Binding Path=Tracker}"/>
                <TextBlock Grid.Row="3" Grid.Column="0" Text="Customer: "/>
                <TextBlock Grid.Row="3" Grid.Column="1" Text="{Binding Path=CustID}"/>
                <TextBlock Grid.Row="4" Grid.Column="0" Text="Status: "/>
                <TextBlock Grid.Row="4" Grid.Column="1" Text="{Binding Path=CallStatus}"/>
                <TextBlock Grid.Row="5" Grid.Column="0" Text="Application: "/>
                <TextBlock Grid.Row="5" Grid.Column="1" Text="{Binding Path=Application}"/>
                <TextBlock Grid.Row="6" Grid.Column="0" Text="AssignedTo: "/>
                <TextBlock Grid.Row="6" Grid.Column="1" Text="{Binding Path=AssignedTo}"/>
                <TextBlock Grid.Row="7" Grid.Column="0" Text="TypeOfCall: "/>
                <TextBlock Grid.Row="7" Grid.Column="1" Text="{Binding Path=TypeOfCall}"/>
            </Grid>           
        </DataTemplate>
        
        <DataTemplate DataType="{x:Type tfs:TeamFoundationServer}">
            <igRibbon:RadioButtonTool
							Caption="{Binding Path=Name}"
							Tag="{Binding}"
                            CommandParameter="{Binding}"
                            Command="Controlers:TeamSystemCommands.SelectServerCommand"
							LargeImage="\Resources\Images\TeamServerSelectIcon.png"
							igRibbon:MenuToolBase.MenuItemDescription="{Binding Path=Url.ToString}"/>
        </DataTemplate>
        
        <DataTemplate DataType="{x:Type tfswit:Project}">
            <igRibbon:RadioButtonTool
							Caption="{Binding Path=Name}"
							Tag="{Binding}"
                            CommandParameter="{Binding}"
                            Command="Controlers:TeamSystemCommands.SelectProjectCommand"
							LargeImage="\Resources\Images\TeamServerSelectIcon.png"
							igRibbon:MenuToolBase.MenuItemDescription="{Binding Path=Url.ToString}"/>
        </DataTemplate>
        
    </igRibbon:XamRibbonWindow.Resources>
    <!--Setup menu command bindings-->
    <igRibbon:XamRibbonWindow.CommandBindings>
        <CommandBinding Command="Controlers:TeamSystemCommands.SelectServerCommand" Executed="SelectTeamServerCommand_Executed"/>
        <CommandBinding Command="Controlers:TeamSystemCommands.SelectProjectCommand" Executed="SelectTeamProjectCommand_Executed" CanExecute="SelectTeamProjectCommand_CanExecuted" />
        <CommandBinding Command="Controlers:HeatCommands.SelectConnectionCommand" Executed="SelectConnectionCommand_Executed"/>  
        <CommandBinding Command="Controlers:HeatCommands.RefreshAvailableCommand" Executed="RefreshAvailableCommand_Executed"/>  
        <CommandBinding Command="local:Commands.CodeplexCommand" Executed="CodeplexCommand_Executed"/>
        <CommandBinding Command="local:AboutWindow.ShowAboutCommand" Executed="ShowAboutCommand_Executed"/>
        <CommandBinding Command="local:Commands.ClearSettingsCommand" Executed="ClearSettingsCommand_Executed"/>
        
       <!--  <CommandBinding Command="local:Commands.SelectSkinCommand" Executed="ChangeSkin"/>
      <CommandBinding Command="local:Commands.SelectTeamProjectCommand" Executed="ChangeTeamProject"/>
        <CommandBinding Command="local:Commands.SelectHeatITSMCommand" Executed="ChangeHeatITSM"/>
        -->
    </igRibbon:XamRibbonWindow.CommandBindings>
    <igRibbon:RibbonWindowContentHost x:Name="uxRibbonWindowContentHost">
            <igRibbon:RibbonWindowContentHost.Ribbon>
            <igRibbon:XamRibbon x:Name="uxXamRibbon" Theme="Onyx">
                <!-- ApplicationMenu -->
                <!--<igRibbon:XamRibbon.ApplicationMenu>

                    <igRibbon:ApplicationMenu>
                        <igRibbon:MenuTool x:Name="uxTeamServerMenuTool" Caption="Team Server" ItemsSource="{Binding AvailableServers}" ItemTemplate="{DynamicResource tAvailableServers}" ButtonType="DropDown" LargeImage="\Resources\Images\TeamServerSelectIcon.png">
                            
                        </igRibbon:MenuTool>
                        <igRibbon:MenuTool x:Name="uxTeamProjectMenuTool" IsEnabled="{Binding HasSelectedServer}" Caption="Team Project" ItemsSource="{Binding AvailableProjects}"  ButtonType="DropDown" SmallImage="\Resources\Images\TeamProjectSelectIcon.png">
                        </igRibbon:MenuTool>
                        <igRibbon:MenuTool x:Name="uxHeatConnectionMenuTool" Caption="Heat Server" ButtonType="DropDown">
                        </igRibbon:MenuTool>
                        <igRibbon:MenuTool x:Name="uxHeatApplicationMenuTool" Caption="Heat App" ButtonType="DropDown" >
                        </igRibbon:MenuTool>
                        <igRibbon:ApplicationMenu.FooterToolbar>
                            <igRibbon:ApplicationMenuFooterToolbar>
                                <igRibbon:ButtonTool Caption="Settings" Command="local:Commands.ClearSettingsCommand" />
                                <igRibbon:ButtonTool Caption="Exit" />
                            </igRibbon:ApplicationMenuFooterToolbar>
                        </igRibbon:ApplicationMenu.FooterToolbar>
                    </igRibbon:ApplicationMenu>
                </igRibbon:XamRibbon.ApplicationMenu>-->
                <!-- End ApplicationMenu -->
                <!-- Add a Tab Control to contain all of the tabs for the Ribbon. -->
            	<!-- Add a series of TabItems to create as many tabs as needed for the Ribbon. -->
            	<igRibbon:RibbonTabItem x:Name="uxHomeTab" Header="Home" >
            		<!-- RibbonGroup-->
            		<igRibbon:RibbonGroup x:Name="uxTeamSystemRibbonGroup" Id="uxTeamSystemRibbonGroup" Caption="Team System">
            			<!-- Add a collection of RibbonGroup.Variants to the current RibbonGroup.  These Variants control which resize operations happen and in what order while the Ribbon is resized.  -->
            			<igRibbon:RibbonGroup.Variants>
            				<!-- Add GroupVariant items to the collection of Variants -->
            				<igRibbon:GroupVariant Priority="5" ResizeAction="HideGalleryPreview"/>
            				<igRibbon:GroupVariant Priority="10" ResizeAction="ReduceGalleryPreviewItems"/>
            				<igRibbon:GroupVariant Priority="30" ResizeAction="ReduceImageAndTextLargeTools"/>
            				<igRibbon:GroupVariant Priority="20" ResizeAction="ReduceImageAndTextNormalTools"/>
            				<igRibbon:GroupVariant Priority="40" ResizeAction="CollapseRibbonGroup"/>
            			</igRibbon:RibbonGroup.Variants>
            			<igRibbon:ToolHorizontalWrapPanel>
            				<igRibbon:ComboEditorTool
            					Id="uxTeamAvailableServers"
            					x:Name="uxTeamAvailableServers"
            					DropDownResizeMode="VerticalOnly"
            					IsEditable="False"
            					EditAreaWidth="148.0"
            					SelectedItem="{Binding Path=SelectedServer}" 
            					ItemsSource="{Binding Path=AvailableServers}"/>
            				<igRibbon:ComboEditorTool
            					Id="uxTeamProjectCombo"
            					x:Name="uxTeamProjectCombo"
            					IsEditable="False"
            					IsEnabled="{Binding Path=HasSelectedServer}"
            					DropDownResizeMode="VerticalOnly"
            					SelectedItem="{Binding Path=SelectedProject}" 
            					ItemsSource="{Binding Path=AvailableProjects}"
            					EditAreaWidth="118.0"/>
            			</igRibbon:ToolHorizontalWrapPanel>
            		</igRibbon:RibbonGroup>
            		<!-- End RibbonGroup-->
            		<!-- RibbonGroup-->
            		<igRibbon:RibbonGroup x:Name="uxHeatITSMRibbonGroup" Id="uxHeatITSMRibbonGroup" Caption="Heat ITSM">
            			<!-- Add a collection of RibbonGroup.Variants to the current RibbonGroup.  These Variants control which resize operations happen and in what order while the Ribbon is resized.  -->
            			<igRibbon:RibbonGroup.Variants>
            				<!-- Add GroupVariant items to the collection of Variants -->
            				<igRibbon:GroupVariant Priority="5" ResizeAction="HideGalleryPreview"/>
            				<igRibbon:GroupVariant Priority="10" ResizeAction="ReduceGalleryPreviewItems"/>
            				<igRibbon:GroupVariant Priority="30" ResizeAction="ReduceImageAndTextLargeTools"/>
            				<igRibbon:GroupVariant Priority="20" ResizeAction="ReduceImageAndTextNormalTools"/>
            				<igRibbon:GroupVariant Priority="40" ResizeAction="CollapseRibbonGroup"/>
            			</igRibbon:RibbonGroup.Variants>
            			<igRibbon:ToolHorizontalWrapPanel>
            				<igRibbon:ButtonTool Caption="Connect" Command="Controlers:HeatCommands.SelectConnectionCommand" />
            				<igRibbon:ComboEditorTool
            					IsEditable="False"
            					IsEnabled="{Binding Path=IsConnected}"
            					DropDownResizeMode="VerticalOnly"
            					SelectedItem="{Binding Path=SelectedApplication}" 
            					ItemsSource="{Binding Path=AvailableApplications}"
            					EditAreaWidth="118.0" />
            				<igRibbon:ButtonTool Caption="Refresh" IsEnabled="{Binding Path=CallLogItems.IsLoading}" Command="Controlers:HeatCommands.RefreshAvailableCommand" />

            			</igRibbon:ToolHorizontalWrapPanel>
            		</igRibbon:RibbonGroup>
            		<!-- End RibbonGroup-->
            		<!-- RibbonGroup-->
            		<igRibbon:RibbonGroup x:Name="uxQueryRibbonGroup" Id="uxQueryRibbonGroup" Caption="Query">
            			<igRibbon:ToolHorizontalWrapPanel>
            				<!--<igRibbon:ComboEditorTool
							    Id="uxTeamAvailableServers"
							    x:Name="uxTeamAvailableServers"
							    DropDownResizeMode="VerticalOnly"
							    IsEditable="False"
							    EditAreaWidth="148.0"
                                SelectedItem="{Binding SelectedServer}" 
                                ItemsSource="{Binding AvailableServers}">
                                </igRibbon:ComboEditorTool>
                                <igRibbon:ComboEditorTool
							    Id="uxTeamProjectCombo"
							    x:Name="uxTeamProjectCombo"
							    IsEditable="False"
                                IsEnabled="{Binding HasSelectedServer}"
							    DropDownResizeMode="VerticalOnly"
                                SelectedItem="{Binding SelectedProject}" 
                                ItemsSource="{Binding AvailableProjects}"
							    EditAreaWidth="118.0">
                                </igRibbon:ComboEditorTool>-->
            			</igRibbon:ToolHorizontalWrapPanel>

            		</igRibbon:RibbonGroup>
            		<!-- End RibbonGroup-->
            	</igRibbon:RibbonTabItem>
            	<igRibbon:RibbonTabItem Header="Feedback" >
            		<!-- RibbonGroup-->
            		<igRibbon:RibbonGroup x:Name="uxFeedbackRibbonGroup" Id="uxFeedbackRibbonGroup" Caption="Feedback">
            			<!-- Add a collection of RibbonGroup.Variants to the current RibbonGroup.  These Variants control which resize operations happen and in what order while the Ribbon is resized.  -->
            			<igRibbon:RibbonGroup.Variants>
            				<!-- Add GroupVariant items to the collection of Variants -->
            				<igRibbon:GroupVariant Priority="5" ResizeAction="HideGalleryPreview"/>
            				<igRibbon:GroupVariant Priority="10" ResizeAction="ReduceGalleryPreviewItems"/>
            				<igRibbon:GroupVariant Priority="30" ResizeAction="ReduceImageAndTextLargeTools"/>
            				<igRibbon:GroupVariant Priority="20" ResizeAction="ReduceImageAndTextNormalTools"/>
            				<igRibbon:GroupVariant Priority="40" ResizeAction="CollapseRibbonGroup"/>
            			</igRibbon:RibbonGroup.Variants>
            			<igRibbon:ToolHorizontalWrapPanel>
            				<Button Content="Release" Command="local:Commands.CodeplexCommand" CommandParameter="Release">
            					<Button.ToolTip>
            						<igRibbon:XamRibbonScreenTip Header="Latest Release" FooterSeparatorVisibility="Collapsed">
            							<!-- Add a Content child element to this XamRibbonScreenTip and place actual content inside. -->
            							<TextBlock VerticalAlignment="Center" TextWrapping="Wrap"><Run Text="Check to see if you have the latest release."/></TextBlock>
            						</igRibbon:XamRibbonScreenTip>
            					</Button.ToolTip>
            				</Button>
            				<Button Content="Documentation" Command="local:Commands.CodeplexCommand" CommandParameter="Home"/>
            				<Button Content="Discussions" Command="local:Commands.CodeplexCommand" CommandParameter="Discussions" />
            				<Button Content="Issue Tracker" Command="local:Commands.CodeplexCommand" CommandParameter="IssueTracker" />
            				<Button Content="Source Code" Command="local:Commands.CodeplexCommand" CommandParameter="SourceCode" />
            				<Button Content="Licence" Command="local:Commands.CodeplexCommand" CommandParameter="License" />
            				<Button Content="About"  Command="local:AboutWindow.ShowAboutCommand" />
            			</igRibbon:ToolHorizontalWrapPanel>
            		</igRibbon:RibbonGroup>
            		<!-- End RibbonGroup-->
            	</igRibbon:RibbonTabItem>
                <!-- ContextualTabGroups -->

                <!-- End ContextualTabGroups -->
            </igRibbon:XamRibbon>
        </igRibbon:RibbonWindowContentHost.Ribbon>

        <DockPanel x:Name="uxMainWindowContent">
            <!-- Create a XamDockManager control -->
            <igDock:XamDockManager x:Name="uxDockManager" Theme="Onyx">
                <!-- Add panes to the XamDockManager's Panes collection -->
                <igDock:XamDockManager.Panes>
                    <!-- Floating Dockable Content ============================================================ -->
                    <!-- Set the SplitPane's XamDockManager.InitialLocation property to DockableFloating which 
						 will display the SplitPane in a floating window that can be docked if needed. -->
                    <!--<igDock:SplitPane igDock:XamDockManager.InitialLocation="DockableFloating" igDock:XamDockManager.FloatingLocation="550,200" SplitterOrientation="Vertical">
                        <igDock:TabGroupPane>
                            <igDock:ContentPane x:Name="floatingDockable1" Header="Heat Status">
                                <StackPanel DockPanel.Dock="Left" MinWidth="200" x:Name="uxHeatStatus">
                                    <TextBlock xml:space="preserve" Opacity="1" FontFamily="Calibri" FontSize="10" FontStretch="Normal" FontWeight="Light" TextWrapping="Wrap" Foreground="{DynamicResource HeaderFontColor}" VerticalAlignment="Bottom" Margin="0,0,0,1"><Run Foreground="#FFCFD3DA">Heat ITSM</Run></TextBlock>
                                    <StackPanel Orientation="Horizontal">
                                        <TextBlock xml:space="preserve" Opacity="1" FontFamily="Calibri" FontSize="8" FontStretch="Normal" FontWeight="Light" TextWrapping="Wrap" Foreground="{DynamicResource HeaderFontColor}" VerticalAlignment="Bottom" Margin="0,0,0,1"><Run Foreground="#FFCFD3DA">State </Run></TextBlock>
                                        <TextBlock xml:space="preserve" Foreground="Red" Opacity="1" FontFamily="Calibri" FontSize="8" FontStretch="Normal" FontWeight="Light" TextWrapping="Wrap" VerticalAlignment="Bottom" Margin="0,0,0,1" Text="{Binding Path=ConnectionState}"></TextBlock>
                                    </StackPanel>
                                    <StackPanel Orientation="Horizontal">
                                        <TextBlock xml:space="preserve" Opacity="1" FontFamily="Calibri" FontSize="8" FontStretch="Normal" FontWeight="Light" TextWrapping="Wrap" Foreground="{DynamicResource HeaderFontColor}" VerticalAlignment="Bottom" Margin="0,0,0,1"><Run Foreground="#FFCFD3DA">Message </Run></TextBlock>
                                        <TextBlock xml:space="preserve" Foreground="Red" Opacity="1" FontFamily="Calibri" FontSize="8" FontStretch="Normal" FontWeight="Light" TextWrapping="Wrap" VerticalAlignment="Bottom" Margin="0,0,0,1" Text="{Binding Path=ConnectionInfoMessage}"></TextBlock>
                                    </StackPanel>
                                    <StackPanel Orientation="Horizontal">
                                        <TextBlock xml:space="preserve" Opacity="1" FontFamily="Calibri" FontSize="8" FontStretch="Normal" FontWeight="Light" TextWrapping="Wrap" Foreground="{DynamicResource HeaderFontColor}" VerticalAlignment="Bottom" Margin="0,0,0,1"><Run Foreground="#FFCFD3DA">Application </Run></TextBlock>
                                        <TextBlock xml:space="preserve" Foreground="Red" Opacity="1" FontFamily="Calibri" FontSize="8" FontStretch="Normal" FontWeight="Light" TextWrapping="Wrap" VerticalAlignment="Bottom" Margin="0,0,0,1" Text="{Binding Path=SelectedApplication}"></TextBlock>
                                    </StackPanel>
                                </StackPanel>
                            </igDock:ContentPane>
                            <igDock:ContentPane x:Name="floatingDockable2" Header="Link Status">
                                <StackPanel x:Name="uxLinkStatus" MinWidth="200">
                                    <TextBlock xml:space="preserve" Opacity="1" FontFamily="Calibri" FontSize="10" FontStretch="Normal" FontWeight="Light" TextWrapping="Wrap" Foreground="{DynamicResource HeaderFontColor}" VerticalAlignment="Bottom" Margin="0,0,0,1"><Run Foreground="#FFCFD3DA">Link</Run></TextBlock>
                                    <StackPanel Orientation="Horizontal">
                                        <TextBlock xml:space="preserve" Opacity="1" FontFamily="Calibri" FontSize="8" FontStretch="Normal" FontWeight="Light" TextWrapping="Wrap" Foreground="{DynamicResource HeaderFontColor}" VerticalAlignment="Bottom" Margin="0,0,0,1"><Run Foreground="#FFCFD3DA">Processing </Run></TextBlock>
                                        <TextBlock xml:space="preserve" Foreground="Red" Opacity="1" FontFamily="Calibri" FontSize="8" FontStretch="Normal" FontWeight="Light" TextWrapping="Wrap" VerticalAlignment="Bottom" Margin="0,0,0,1" Text="{Binding Path=Working}"></TextBlock>
                                    </StackPanel>
                                    <StackPanel Orientation="Horizontal">
                                        <TextBlock xml:space="preserve" Opacity="1" FontFamily="Calibri" FontSize="8" FontStretch="Normal" FontWeight="Light" TextWrapping="Wrap" Foreground="{DynamicResource HeaderFontColor}" VerticalAlignment="Bottom" Margin="0,0,0,1"><Run Foreground="#FFCFD3DA">Items </Run></TextBlock>
                                        <TextBlock xml:space="preserve" Foreground="Red" Opacity="1" FontFamily="Calibri" FontSize="8" FontStretch="Normal" FontWeight="Light" TextWrapping="Wrap" VerticalAlignment="Bottom" Margin="0,0,0,1" Text="{Binding Path=Items.Count}"></TextBlock>
                                    </StackPanel>
                                </StackPanel>
                            </igDock:ContentPane>
                        </igDock:TabGroupPane>
                    </igDock:SplitPane>-->
                    <igDock:SplitPane x:Name="uxCallDetail" igDock:XamDockManager.InitialLocation="DockedRight"  SplitterOrientation="Vertical">
                        <igDock:TabGroupPane>
                            <igDock:ContentPane x:Name="floatingDockable1" Header="Heat Status">
                                <StackPanel DockPanel.Dock="Left" MinWidth="200" x:Name="uxHeatStatus">
                                    <TextBlock xml:space="preserve" Opacity="1" FontFamily="Calibri" FontSize="10" FontStretch="Normal" FontWeight="Light" TextWrapping="Wrap"  VerticalAlignment="Bottom" Margin="0,0,0,1"><Run Foreground="#FFCFD3DA" Text="Heat ITSM"/></TextBlock>
                                    <StackPanel Orientation="Horizontal">
                                        <TextBlock xml:space="preserve" Opacity="1" FontFamily="Calibri" FontSize="8" FontStretch="Normal" FontWeight="Light" TextWrapping="Wrap"  VerticalAlignment="Bottom" Margin="0,0,0,1"><Run Foreground="#FFCFD3DA" Text="ID "/></TextBlock>
                                        <TextBlock xml:space="preserve" Foreground="Red" Opacity="1" FontFamily="Calibri" FontSize="8" FontStretch="Normal" FontWeight="Light" TextWrapping="Wrap" VerticalAlignment="Bottom" Margin="0,0,0,1" Text="{Binding Path=CallNotInTFSSelected.CallID}"/>
                                    </StackPanel>
                                </StackPanel>
                            </igDock:ContentPane>
                        </igDock:TabGroupPane>
                    </igDock:SplitPane>
                </igDock:XamDockManager.Panes>
                <!-- Document Content ======================================================================== -->
                <!-- Add a DocumentContentHost here which will assign the DocumentContentHost as the Content of the
					 XamDockManager.  XamDockManager displays its content inside the dock areas.  Then add a SplitPane
					 containing a TabGroupPane with several ContentPanes that represent document content. -->
                <igDock:DocumentContentHost>
                    <igDock:SplitPane>
                        <igDock:TabGroupPane>
                            <igDock:ContentPane x:Name="uxQuery3ContentPane" Header="Query: Not In TFS" Image="\Resources\Images\HEAT16.gif">
                                <igWindows:XamCarouselListBox  ItemsSource="{Binding Path=CallsNotInTFS}" SelectedItem="{Binding Path=CallNotInTFSSelected, Mode=OneWayToSource}" >
                                	<igWindows:XamCarouselListBox.ViewSettings>
                                		<igWindows:CarouselViewSettings AutoScaleItemContentsToFit="True" ShouldAnimateItemsOnListChange="True"/>
                                	</igWindows:XamCarouselListBox.ViewSettings>
                                </igWindows:XamCarouselListBox>
                            </igDock:ContentPane>

                        </igDock:TabGroupPane>
                    </igDock:SplitPane>
                </igDock:DocumentContentHost>
            </igDock:XamDockManager>

        </DockPanel>
    </igRibbon:RibbonWindowContentHost>
 
</igRibbon:XamRibbonWindow>
